Skip to content

chore: require Apache-2.0 for new contributions - #152

Merged
csnitker-godaddy merged 3 commits into
mainfrom
codex/apache-contributions
Nov 5, 2026
Merged

csnitker-godaddy merged 3 commits into
mainfrom
codex/apache-contributions

Conversation

@csnitker-godaddy

@csnitker-godaddy csnitker-godaddy commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Related issue

Fixes #151

Summary

Propose Apache-2.0 for new original contributions so its copyright and patent grants apply going forward. Preserve the original MIT text and copyright notice verbatim in LICENSES/MIT.txt, and explain the legacy material in NOTICE. Earlier contributions keep their existing terms; this does not claim Apache patent grants from past MIT contributors.

The root LICENSE contains the complete Apache-2.0 terms. CONTRIBUTING.md defines the prospective policy, and the README distinguishes legacy MIT material from new Apache contributions. This is mixed licensing (Apache-2.0 AND MIT for distributions containing both), rather than an MIT alternative for new contributions. Separately licensed material retains its terms.

Release archives and all three container images include both license texts and NOTICE; OCI license metadata matches the policy. This is the first repository proposal for review before changing the remaining MIT repositories.

Testing

  • goreleaser check, dependency-license checks, make test-cover, and git diff --check pass.
  • Confirmed LICENSES/MIT.txt is byte-for-byte identical to the existing MIT license and the Apache text matches GitHub's standard text. GitHub recognizes the PR branch's primary license as Apache-2.0; the README and NOTICE retain the legacy MIT scope.
  • make check passed formatting and vet, then stopped on existing whitespace errors in unchanged internal/ra/handler/v1certificates_test.go:125 and internal/ra/handler/v1renewal_test.go:159. Coverage was run separately and passed.
  • Container build was not run because the local Docker daemon is unavailable; license-copy inputs and paths were checked.

AI assistance

Assisted-by: OpenAI Codex (GPT-6)

Checklist

  • The PR links its tracking issue.
  • Existing copyright and license notices are preserved.
  • Validation results and limitations are recorded.
  • The commit has the authorized human DCO sign-off.

Signed-off-by: Connor Snitker <csnitker@godaddy.com>
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
@csnitker-godaddy
csnitker-godaddy marked this pull request as ready for review November 5, 2026 19:47
Copilot AI balanced review requested due to automatic review settings November 5, 2026 19:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The prospective Apache-2.0 policy changes contributor licensing obligations and patent grants, requiring maintainer/legal review to confirm adoption authority and preserve the boundary around legacy MIT contributions.

No open issues 🎉

What changed in this PR

Addresses #151 by requiring Apache-2.0 for new original ANS contributions while preserving legacy MIT terms, without claiming retroactive Apache patent grants.

Changes:

  • Documents the prospective contribution policy and mixed-license distribution requirements.
  • Preserves the original MIT license and copyright notice alongside the full Apache-2.0 license.
  • Includes both license texts and NOTICE in release archives and all three container images, with matching OCI license metadata.
File Description
README.md Explains new Apache-2.0 contributions and retained legacy MIT terms.
NOTICE Identifies legacy MIT material and its preserved copyright notice.
LICENSES/​MIT.txt Preserves the original MIT license verbatim.
LICENSE Replaces the root license text with Apache-2.0.
Dockerfile.ans-verify Bundles license notices and sets mixed-license metadata.
Dockerfile.ans-tl Bundles license notices and sets mixed-license metadata.
Dockerfile.ans-ra Bundles license notices and sets mixed-license metadata.
CONTRIBUTING.md Defines prospective Apache-2.0 licensing and notice-preservation requirements.
.goreleaser.yaml Adds the MIT license and NOTICE to release archives.

Review effort: Balanced

@csnitker-godaddy
csnitker-godaddy merged commit ce10fa9 into main Nov 5, 2026
7 checks passed
@csnitker-godaddy
csnitker-godaddy deleted the codex/apache-contributions branch November 5, 2026 21:46
@github-project-automation github-project-automation Bot moved this from Triage to Done in Agent Name Service Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Require Apache-2.0 for new contributions while preserving legacy MIT terms

3 participants